package com.zslibrary.Tools;

import android.util.Log;

import com.zslibrary.BuildConfig;

public class ZSLog {
    public static void i(String message){
        if(BuildConfig.DEBUG) {
            StringBuilder builder=new StringBuilder();
            builder.append("==========");
            builder.append(message);
            builder.append("==========");
            Log.i("zs debug", builder.toString());
        }
    }

    public static void d(String message){
        //if(BuildConfig.DEBUG) {
            StringBuilder builder=new StringBuilder();
            builder.append("==========");
            builder.append(message);
            builder.append("==========");
            Log.d("zs debug", builder.toString());
        //}
    }

    public static void e(String message){
        if(BuildConfig.DEBUG){
            StringBuilder builder=new StringBuilder();
            builder.append("==========");
            builder.append(message);
            builder.append("==========");
            Log.e("zs debug", builder.toString());
        }
    }
}
